package cn.iocoder.yudao.module.reading.controller.app.favorite.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

/**
 * 收藏删除 Request VO
 *
 * @author 李晨
 */
@Schema(description = "用户 APP - 收藏删除 Request VO")
@Data
public class FavoriteRemoveReqVO {

    @Schema(description = "收藏对象ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "收藏对象ID不能为空")
    private Long targetId;

    @Schema(description = "收藏类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "book_set")
    @NotEmpty(message = "收藏类型不能为空")
    private String targetType;

}
